-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaged build artifacts into artifacts directory #242
Conversation
This pull request introduces 2 alerts when merging b5d9796 into 9bf02f0 - view on LGTM.com new alerts:
|
b5d9796
to
442abad
Compare
@Joshua-Anderson you probably need to pull from |
79f93ed
to
9006782
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a bunch of comments.
|
||
``` | ||
cd fprime/Ref | ||
fprime-gds -d . | ||
fprime-gds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why wouldn't you improve the documentation to run from the packaged output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I figured fprime-gds
was cleaner than fprime-gds -r build-artifacts
. Since we added artifact root autodetection we might as well take advantage of it, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this fail because there is no settings.ini to tell it which artifact directory to use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because even if the settings.ini is missing it'll provide the default location build-artifacts
.
Detection order: --root
argument, else settings.ini
, else build-artifacts
.
I ran this, works as expected. |
9006782
to
1fab89f
Compare
Currently, `fprime-util install` installs files into a variety of different locations, which makes it difficult to archive all the build artifacts. Now, `fprime-util install` has been removed and `fprime-util build` automatically ensures all build artifacts are installed into the location provided by the `install_dest` settings option, which defaults to `build-artifacts`. It has the following structure: - <PLATFORM>/bin: deployment binaries - <PLATFORM>/lib/static: deployment static libraries - <PLATFORM>/dict: command dictionary, autogenerated html command, channel, and event documentation The GDS has also been updated to automatically use the settings.ini file to look into the artifacts directory to find the deployment application and dictionary.
1fab89f
to
20b5f29
Compare
Currently,
fprime-util install
installs files into a variety of differentlocations, which makes it difficult to archive all the build artifacts.
Now,
fprime-util install
has been removed andfprime-util build
automatically ensures all build artifacts are installed into the location
provided by the
install_dest
settings option, which defaults tobuild-artifacts
.It has the following structure:
channel, and event documentation
The GDS has also been updated to automatically use the settings.ini file to look
into the artifacts directory to find the deployment application and dictionary.
Resolves #236